﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Arch.Intercep
{
    [Flags]
    public enum ActionTarget
    {
        InfrastructureLoading = 1,
        InfrastructureLoaded = 2,
        Loading = 4,
        Loaded = 8,
        Creating = 16,
        Created = 32,
        Updating = 64,
        Updated = 128,
        Deleting = 256,
        Deleted = 512,

        All = InfrastructureLoading | InfrastructureLoaded | Loading | Loaded | Creating | Created | Updating | Updated | Deleting | Deleted,
        AllEntity = Loading | Loaded | Creating | Created | Updating | Updated | Deleting | Deleted,
        BeforeCud = Creating | Updating | Deleting,
        AfterCud = Created | Updated | Deleted,
    }
}
